//
//  ViewController.swift
//  SwiftStudy
//
//  Created by jyc on 2017/6/16.
//  Copyright © 2017年 BlockCopy. All rights reserved.
//

import UIKit


class ViewController: UIViewController,UITableViewDelegate {

    
    
    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view, typically from a nib.
        

////
////        let sc = UIScrollView(frame: CGRect(x: 0, y: 100, width:375,height:44))
////
////        sc.backgroundColor = UIColor.red
////
////        let count = 15
////
////        let width = 50
////
////        for i in 0...count {
////
////            let label = UILabel()
////
////            label.backgroundColor = UIColor.green
////
////            label.textColor = UIColor.red
////
////            label.font = UIFont.systemFont(ofSize: 15)
////
////            label.text = "text\(i)"
////
////            label.frame = CGRect(x: i*width, y: 0,width: width,height: 44)
////
////            sc.addSubview(label)
////
////        }
//
//        sc.contentSize = CGSize(width: count*width,height:44)
//
//        sc.showsHorizontalScrollIndicator = false;
//
//        view.addSubview(sc)
        
    }

    
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }


    
    
    
    
}

